@import "common";
.wraper{
  width: 100%;
  min-height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.screen{
  height: 100vh;
}
.full{
  width: 100%;
}
.container{
  z-index: 10;
  overflow: auto;
  -webkit-overflow-scrolling : touch;
}

.areaselect{
  background: url('../images/bg_up.png') no-repeat top left,url('../images/bg_down.png') no-repeat bottom left,-webkit-radial-gradient(#45bffc, #1993e6);
  background: url('../images/bg_up.png') no-repeat top left,url('../images/bg_down.png') no-repeat bottom left,radial-gradient(#45bffc, #1993e6);
  background-size: 100% auto;
  .logo{
    width: 31vw;
    margin: 18vh auto 10vh;
  }
  .menu{
    width: 80vw;
    margin: 0 auto;
    .menu-list{
      color: #fff;
      padding: 25px 0;
      border-bottom: 1px solid #e6e6e6;
      &:first-child{
        padding-top: 0;
      }
      &:last-child{
        border-bottom: none;
      }
      .icon-cangqian,.icon-xiasha{
        line-height: 1;
        font-size: 40px;
        padding-right: 14px;
      }
    }
  }
}
.header,.search{
  width: 100%;
  color: #fff;
  height: 44px;
  font-size: 16px;
  padding: 0 12px;
  line-height: 44px;
  background-image: linear-gradient(45deg, #1579d9, #2db4f4);
  background-image: -webkit-linear-gradient(45deg, #1579d9, #2db4f4);
  a{
    width: 25%;
    color: #fff;
  }
  span{
    width: 50%;
  }
}
.search{
  background: @maincolor;
  .icon-left{
    width: 20px;
  }
  .search_{
    width: 100%;
    height: 30px;
    padding: 0 10px;
    line-height: 30px;
    border-radius: 30px;
    background: #fff;
    input{
      border: none;
      font-size: 12px;
      background: transparent;
      &::-webkit-input-placeholder{
        color: #999;
      }
    }
  }
  .icon-sousuo{
    width: 20px;
    color: #999;
    font-size: 12px;
  }
  .search-btn{
    width: 36px;
    font-size: 14px;
  }
}

.wraper .banner{
  .swiper-slide{
    height: 20.5vh;
  }
  .swiper-pagination{
    bottom: 0;
  }
  .swiper-pagination-bullet{
    background: #fff;
    opacity: .2;
  }
  .swiper-pagination-bullet-active{
    opacity: 1;
  }
}
.wraper .classify{
  width: 93.6vw;
  background: #fff;
  margin: 10px auto;
  border-radius: 6px;
  .swiper-pagination{
    bottom: 5px;
  }
  .swiper-pagination-bullet{
    width: 5px;
    height: 5px;
    background: @maincolor;
    opacity: .2;
  }
  .swiper-pagination-bullet-active{
    opacity: 1;
  }
  .classify-blank{
    width: 20vw;
    padding-bottom: 25px;
    .classify-img{
      width: 13vw;
      height: 13vw;
      overflow: hidden;
      border-radius: 50%;
      margin: 16px auto 4px;
      //background: url('../images/classify.png') no-repeat;
      //background-size: auto 100%;
    }
    /*.img_vegetables{
      background-position: -26vw 0;
    }
    .img_marine{
      background-position: -39vw 0;
    }
    .img_bean{
      background-position: -52vw 0;
    }
    .img_meat{
      background-position: -65vw 0;
    }
    .img_seasoning{
      background-position: -78vw 0;
    }
    .img_oil{
      background-position: 0 0;
    }
    .img_lwl{
      background-position: -13vw 0;
    }*/
  }
}
.list-view{
  padding: 0 3.2vw;
  .gc-block{
    margin-top: 0;
  }
}
.gc-block .icon-icon{
  font-size: 26px;
  align-self: flex-end;
  -webkit-align-self: flex-end;
}
.item{
  color: #2a2a2a;
  width: 45.2vw;
  padding: 3.2vw;
  background: #fff;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 10px;
  .item-img{
    width: 38.6vw;
    height: 38.6vw;
    margin-bottom: 3.2vw;
  }
  .item-name{
    height: 42px;
    overflow:hidden;
    -webkit-line-clamp:2;
    display:-webkit-box;
    -webkit-box-orient:vertical;
  }
  .icon-icon{
    font-size: 26px;
  }
  .ellipsis{
    width: 70vw;
  }
}
.list-item{
  width: 100%;
  .item-img{
    width: 17.6vw;
    height: 17.6vw;
    margin-bottom: 0;
    margin-right: 4vw;
  }
  .item-name{
    width: 38.6vw;
  }
}
.price{
  margin-right: 10px;
}
.quantity{
  span{
    width: 30px;
    text-align: center;
    display: inline-block;
  }
  .hide{
    display: none;
  }
}
.ft-intent{
  text-indent: 24px;
}
footer{
  height: 44px;
  line-height: 1;
  background: #fff;
  .border-top();
  a{
    width: 25%;
    p{
      font-size: 10px;
    }
    .iconfont{
      font-size: 20px;
      padding-bottom: 4px;
    }
    .tips{
      color: #fff;
      width: 15px;
      height: 15px;
      display: block;
      overflow: hidden;
      .border-radius(15px);
      line-height: 15px;
      background: #ff5a5e;
      position: absolute;
      top: -3px;
      right: -5px;
    }
    .hide{
      display: none;
    }
  }
  .current{
    .iconfont{
      color: @maincolor;
    }
  }
}
.top-blank0{
  margin-top: 0;
  margin-bottom: 10px;
}
.top-blank10{
  margin-top: 10px;
}
.bottom-10{
  margin-bottom: 10px;
}
.top-blankp10{
  padding-top: 10px;
}
.triangle{
  border: 4px solid;
  margin-left: 10px;
}
.triangle-up{
  margin-bottom: 4px;
  border-color: transparent transparent #999 transparent;
}
.triangle-down{
  border-color: #999 transparent transparent transparent;
}
.selected{
  color: @maincolor;
  .triangle-up.triangle-check{
    border-color: transparent transparent @maincolor transparent;
  }
  .triangle-down.triangle-check{
    border-color: @maincolor transparent transparent transparent;
  }
}
.icon-xuanzhong{
  color: @maincolor;
}
.checkbox{
  padding-right: 6px;
}
.fixed-btn{
  color: #fff;
  line-height: 44px;
  background: #ff5a5e;
}
.user-msg{
  margin-bottom: 4px;
  .user-img{
    width: 16px;
    height: 16px;
    overflow: hidden;
    margin-right: 6px;
    border-radius: 50%;
  }
}
.score{
  .score-name{
    margin-right: 16px;
  }
  .icon-xing{
    color: #ccc;
    font-size: 14px;
  }
  .checked{
    color: #febd3e;
  }
}
.score-option{
  .icon-xing{
    font-size: 16px;
    padding-right: 10px;
  }
}
.album{
  .img-box{
    width: 21vw;
    height: 21vw;
    margin-left: 3vw;
    position: relative;
    margin-top: 10px;
    &:nth-child(4n+1){
      margin-left: 0;
    }
    img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
  }
  .upload_btn{
    line-height: 21vw;
    border: 1px dashed #e6e6e6;
    .iconfont{
      font-size: 20px;
    }
  }
  .input_upload{
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  .delete{
    line-height: 1;
    color: #ff5a5e;
    display: block;
    font-size: 18px;
    position: absolute;
    top: -8px;
    right: -8px;
  }
}
.pop-box{
  width: 100%;
  height: 100%;
  z-index: 100;
  display: none;
  background: rgba(0,0,0,.3);
  position: fixed;
  top: 0;
  left: 0;
}
.pop-cart{
  width: 100%;
  z-index: 102;
  background: #fff;
  position: fixed;
  bottom: -100%;
  left: 0;
  transition: bottom linear 0.5s;
  .gc-block{
    margin-top: 0;
  }
  .list-item{
    margin-bottom: 0;
    border-radius: 0;
    .item-img{
      width: 23.5vw;
      height: 23.5vw;
    }
  }
  .close{
    line-height: 1;
    font-size: 18px;
  }
  .title{
    padding: 0 12px;
  }
  .fixed-btn{
    display: block;
  }
}
.show{
  bottom:0;
  transition: bottom linear 0.5s;
}
textarea{
  width: 100%;
  border: none;
  resize: none;
  font-size: 14px;
}
.cart-total{
  background: #fff;
  .select-all{
    padding-left: 12px;
  }
}
.small-btn{
  color: #fff;
  width: 100px;
  margin-left: 10px;
  line-height: 44px;
  background: @maincolor;
}
.user-center{
  color: #fff;
  position: relative;
  padding: 30px 0 20px;
  background: url('../images/centerbg.png') no-repeat bottom left,linear-gradient(-90deg, #1579d9, #2db4f4);
  background: url('../images/centerbg.png') no-repeat bottom left,-webkit-linear-gradient(-90deg, #1579d9, #2db4f4);
  background-size: 100% auto;
  .user-head{
    width: 17.6vw;
    height: 17.6vw;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto 10px;
  }
  .back{
    color: #fff;
    position: absolute;
    left: 12px;
    top: 10px;
  }
}
.gc-tab{
  .gc-tab-item{
    span{
      .border-left(transparent);
    }
  }
}
.gc-ft-yellow{
  color: #fedb3e;
}
.status{
  padding-left: 20px;
  align-self: flex-start;
  -webkit-align-self: flex-start;
}
.btn-default{
  margin-right:10px;
  margin-right:2.4272vw;
  width: 70px;
  width:16.9903vw;
  height: 28px;
  height:3.8043vh;
  line-height: 28px;
  line-height: 3.8043vh;
  border-radius: 4px;
  color: @maincolor;
  .border(@maincolor);
  font-size: 12px;
}
.radius-none{
  border-radius: 0;
}
.msg-title{
  .border-bottom();
  span{
    padding-left: 8px;
    border-left: 4px solid @maincolor;
  }
}
.icon-didian{
  padding-right: 6px;
}
.btn-box{
  padding: 0 12px;
}

.btn{
  width: 100%;
  color: #fff;
  margin: 40px 0;
  display: block;
  font-size: 16px;
  line-height: 44px;
  border-radius: 4px;
  background: @maincolor;
}
.over_show{
  max-height: 42vh;
  overflow: auto;
}
.empty{
  width: 125px;
  margin: 20% auto 10px;
}
.wraper .gc-block{
  .gc-block-line:last-of-type {
    padding-bottom: 10px;
    .border-bottom();
  }
  .gc-block-line:last-child{
    padding-bottom: 0;
    border-bottom: 1px solid transparent;
  }
  .msg-title{
    padding-top: 0;
    margin-bottom: 10px;
  }
}
.address-check{
  color: @maincolor;
}
.confirm_t{
  padding-bottom: 10px;
}
.gc-ft-indent{
  text-indent: 2em;
}


.hide{
  display: none;
}
.no_more{
  padding-bottom: 10px;
}


//改需求后新增样式
.cart-info{
  padding:16px 2.666vw;
  margin-bottom:10px;
  background:#fff;
  .head{
    margin-bottom:4px;
    font-size: 0;
    line-height: 14px;
    .line{
      width:4px;
      height:14px;
      margin-right:8px;
      background: @maincolor;
    }
    .title{
      font-size: 14px;
      color:#666;
    }
    .date{
      flex:1;
      font-size: 14px;
      color:#666;
      text-align: right;
    }
  }
  .main{
    flex-wrap: wrap;
    //justify-content: space-between;
    .day-item{
      //width:55px;
      width:14.6667vw;
      //height:24px;
      height:3.5982vh;
      //line-height: 24px;
      line-height: 3.5982vh;
      margin-top:10px;
      //margin-right:20px;
      margin-right:5.333vw;
      border:1px solid #e6e6e6;
      border-radius:4px;
      text-align: center;
      &.active{
        color:@maincolor;
        border:1px solid @maincolor;
      }
    }
    .day-item:last-child{
      margin-right:0;
    }
    .day-item:nth-child(5n){
      margin-right:0;
    }
  }
}

.btn-default:last-child{
  margin-right:0;
}

.pay-info{
  justify-content: space-between;
  padding:16px 10px;
  margin-top:10px;
  background: #fff;
  .title{
    font-size: 14px;
    color:#666;
  }
  .pay-price{
    font-size: 24px;
    line-height: 24px;
    color:#2a2a2a;
  }
}

.pay-methods{
  margin-top:10px;
  background: #fff;
  .method{
    align-items: center;
    padding:16px 10px;
    border-bottom:1px solid #e6e6e6;
    .icon{
      margin-right:8px;
      font-size: 19px;
      vertical-align: top;
    }
    .text{
      font-size: 14px;
      color:#2a2a2a;
    }
    a{
      flex:1;
      text-align: right;
    }
    .icon-quan{
      font-size: 16px;
      color:#999;
    }
    .icon-xuanzhong{
      color:@maincolor;
    }
  }
  .method:last-child{
    border-bottom: none;
  }
  .icon-yiqiatong{
    color:#febd3e;
  }
  .icon-zhifubao{
    color:#00a3e2;
  }
  .icon-big-WeChat{
    color:#3cb035;
  }
}

.payment{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  height:44px;
  line-height: 44px;
  color:#fff;
  background:#ff5a5e;
  text-align: center;
  .text{
    font-size: 16px;
  }
  .price-num{
    font-size: 19px;
  }
}